FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureDefinition/FHIR Server from package vzvz.fhir.aof#0.13.0 (453 ms)

Package vzvz.fhir.aof
Type StructureDefinition
Id Id
FHIR Version R4B
Source https://simplifier.net/resolve?scope=vzvz.fhir.aof@0.13.0&canonical=http://vzvz.nl/fhir/StructureDefinition/aorta-AuditEvent
Url http://vzvz.nl/fhir/StructureDefinition/aorta-AuditEvent
Version 1.0.0
Status draft
Date 2023-09-15
Name AortaAuditEvent
Experimental False
Copyright VZVZ
Type AuditEvent
Kind resource

Resources that use this resource

StructureDefinition
http://vzvz.nl/fhir/StructureDefinition/aorta-subscriptionNotification-bundle NLVZVZAortaSubscriptionNotificationBundle

Resources that this resource uses

ValueSet
http://vzvz.nl/fhir/ValueSet/aorta-ContextCode Aorta-ContextCode ValueSet


Source

{
  "resourceType" : "StructureDefinition",
  "id" : "aorta-AuditEvent",
  "url" : "http://vzvz.nl/fhir/StructureDefinition/aorta-AuditEvent",
  "version" : "1.0.0",
  "name" : "AortaAuditEvent",
  "status" : "draft",
  "date" : "2023-09-15",
  "publisher" : "VZVZ",
  "contact" : [
    {
      "name" : "VZVZ",
      "telecom" : [
        {
          "system" : "email",
          "value" : "standaardisatie@vzvz.nl",
          "use" : "work"
        }
      ]
    }
  ],
  "copyright" : "VZVZ",
  "fhirVersion" : "4.3.0",
  "kind" : "resource",
  "abstract" : false,
  "type" : "AuditEvent",
  "baseDefinition" : "http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-AuditEvent",
  "derivation" : "constraint",
  "snapshot" : {
    "element" : [
      {
        "id" : "AuditEvent",
        "path" : "AuditEvent",
        "short" : "Event record kept for security purposes",
        "definition" : "A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage.",
        "comment" : "Based on IHE-ATNA.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AuditEvent",
          "min" : 0,
          "max" : "*"
        },
        "constraint" : [
          {
            "key" : "dom-2",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression" : "contained.contained.empty()",
            "xpath" : "not(parent::f:contained and f:contained)",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-4",
            "severity" : "error",
            "human" : "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-3",
            "severity" : "error",
            "human" : "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
            "expression" : "contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()",
            "xpath" : "not(exists(for $contained in f:contained return $contained[not(exists(parent::*/descendant::f:reference/@value=concat('#', $contained/*/f:id/@value)) or exists(descendant::f:reference[@value='#']))]))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                "valueBoolean" : true
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                "valueMarkdown" : "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
              }
            ],
            "key" : "dom-6",
            "severity" : "warning",
            "human" : "A resource should have narrative for robust management",
            "expression" : "text.`div`.exists()",
            "xpath" : "exists(f:text/h:div)",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-5",
            "severity" : "error",
            "human" : "If a resource is contained in another resource, it SHALL NOT have a security label",
            "expression" : "contained.meta.security.empty()",
            "xpath" : "not(exists(f:contained/*/f:meta/f:security))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "workflow",
            "map" : "Event"
          },
          {
            "identity" : "rim",
            "map" : "ControlAct[moodCode=EVN]"
          },
          {
            "identity" : "dicom",
            "map" : "Message"
          },
          {
            "identity" : "w5",
            "map" : "infrastructure.information"
          }
        ]
      },
      {
        "id" : "AuditEvent.id",
        "path" : "AuditEvent.id",
        "short" : "Logical id of this artifact",
        "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comment" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "id"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "AuditEvent.meta",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.meta",
        "short" : "Metadata about the resource",
        "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.meta",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Meta"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.implicitRules",
        "path" : "AuditEvent.implicitRules",
        "short" : "A set of rules under which this content was created",
        "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
        "comment" : "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.implicitRules",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : true,
        "isModifierReason" : "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AuditEvent.language",
        "path" : "AuditEvent.language",
        "short" : "Language of the resource content",
        "definition" : "The base language in which the resource is written.",
        "comment" : "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.language",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }
          ],
          "strength" : "preferred",
          "description" : "IETF language tag",
          "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AuditEvent.text",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.text",
        "short" : "Text summary of the resource, for human interpretation",
        "definition" : "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comment" : "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
        "alias" : [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Narrative"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Act.text?"
          }
        ]
      },
      {
        "id" : "AuditEvent.contained",
        "path" : "AuditEvent.contained",
        "short" : "Contained, inline Resources",
        "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comment" : "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
        "alias" : [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Resource"
          }
        ],
        "constraint" : [
          {
            "key" : "dom-r4b",
            "severity" : "warning",
            "human" : "Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems",
            "expression" : "($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)",
            "xpath" : "not(f:Citation|f:Evidence|f:EvidenceReport|f:EvidenceVariable|f:MedicinalProductDefinition|f:PackagedProductDefinition|f:AdministrableProductDefinition|f:Ingredient|f:ClinicalUseDefinition|f:RegulatedAuthorization|f:SubstanceDefinition|f:SubscriptionStatus|f:SubscriptionTopic) or not(parent::f:Citation|parent::f:Evidence|parent::f:EvidenceReport|parent::f:EvidenceVariable|parent::f:MedicinalProductDefinition|parent::f:PackagedProductDefinition|parent::f:AdministrableProductDefinition|parent::f:Ingredient|parent::f:ClinicalUseDefinition|parent::f:RegulatedAuthorization|parent::f:SubstanceDefinition|f:SubscriptionStatus|f:SubscriptionTopic)",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.extension",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 2,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.extension:requestId",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.extension",
        "sliceName" : "requestId",
        "short" : "id of the request that resulted in this AuditEvent",
        "definition" : "Optional Extension Element - found in all resources.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://vzvz.nl/fhir/StructureDefinition/aorta-request-id"
            ]
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.extension:traceId",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.extension",
        "sliceName" : "traceId",
        "short" : "overarching id for the entire transaction",
        "definition" : "Optional Extension Element - found in all resources.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://vzvz.nl/fhir/StructureDefinition/aorta-trace-id"
            ]
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.modifierExtension",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.modifierExtension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport" : false,
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.type",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.type",
        "short" : "Type/identifier of event",
        "definition" : "Identifier for a family of the event. For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function.",
        "comment" : "Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.",
        "requirements" : "This identifies the performed function. For \"Execute\" Event Action Code audit records, this identifies the application function performed.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.type",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "example" : [
          {
            "label" : "FHIR based",
            "valueCoding" : {
              "system" : "http://terminology.hl7.org/CodeSystem/audit-event-type",
              "version" : "0.5.0",
              "code" : "rest"
            }
          },
          {
            "label" : "v3 based",
            "valueCoding" : {
              "system" : "http://terminology.hl7.org/CodeSystem/audit-event-type",
              "version" : "0.5.0",
              "code" : "hl7-v3"
            }
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AuditEventType"
            }
          ],
          "strength" : "extensible",
          "description" : "Type of event.",
          "valueSet" : "http://vzvz.nl/fhir/ValueSet/audit-event-type"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
          },
          {
            "identity" : "rim",
            "map" : "CV"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding rdfs:subClassOf dt:CDCoding"
          },
          {
            "identity" : "workflow",
            "map" : "Event.code"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.what[x]"
          },
          {
            "identity" : "rim",
            "map" : ".code (type, subtype and action are pre-coordinated or sent as translations)"
          },
          {
            "identity" : "dicom",
            "map" : "EventId"
          },
          {
            "identity" : "w3c.prov",
            "map" : "Activity"
          }
        ]
      },
      {
        "id" : "AuditEvent.type.id",
        "path" : "AuditEvent.type.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "id"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AuditEvent.type.extension",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.type.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.type.system",
        "path" : "AuditEvent.type.system",
        "short" : "Identity of the terminology system",
        "definition" : "The identification of the code system that defines the meaning of the symbol in the code.",
        "comment" : "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
        "requirements" : "Need to be unambiguous about the source of the definition of the symbol.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.system",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "C*E.3"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystem"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id" : "AuditEvent.type.version",
        "path" : "AuditEvent.type.version",
        "short" : "Version of the system",
        "definition" : "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment" : "One of the CodeSystems is part of FHIR R5, therefore it is mandatory to add the version of the CodeSystem.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Coding.version",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "C*E.7"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystemVersion"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id" : "AuditEvent.type.code",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/build/StructureDefinition/no-binding",
            "valueBoolean" : true
          }
        ],
        "path" : "AuditEvent.type.code",
        "short" : "Symbol in syntax defined by the system",
        "definition" : "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).",
        "comment" : "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "requirements" : "Need to refer to a particular code in the system.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "C*E.1"
          },
          {
            "identity" : "rim",
            "map" : "./code"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id" : "AuditEvent.type.display",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "AuditEvent.type.display",
        "short" : "Representation defined by the system",
        "definition" : "A representation of the meaning of the code in the system, following the rules of the system.",
        "comment" : "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "requirements" : "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.display",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "C*E.2 - but note this is not well followed"
          },
          {
            "identity" : "rim",
            "map" : "CV.displayName"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id" : "AuditEvent.type.userSelected",
        "path" : "AuditEvent.type.userSelected",
        "short" : "If this coding was chosen directly by the user",
        "definition" : "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
        "comment" : "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements" : "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.userSelected",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "Sometimes implied by being first"
          },
          {
            "identity" : "rim",
            "map" : "CD.codingRationale"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]"
          }
        ]
      },
      {
        "id" : "AuditEvent.subtype",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.subtype",
        "short" : "More specific type/id for the event",
        "definition" : "Identifier for the category of event.",
        "comment" : "Only used for FHIR events, not used for V3 events.",
        "requirements" : "This field enables queries of messages by implementation-defined event categories.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AuditEvent.subtype",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "example" : [
          {
            "label" : "FHIR based",
            "valueCoding" : {
              "system" : "http://hl7.org/fhir/restful-interaction",
              "version" : "4.0.1",
              "code" : "search"
            }
          },
          {
            "label" : "V3 based",
            "valueCoding" : {
              "system" : "http://hl7.org/fhir/restful-interaction",
              "version" : "0.5.0",
              "code" : "hl7-v3"
            }
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AuditEventSubType"
            }
          ],
          "strength" : "extensible",
          "description" : "Sub-type of event.",
          "valueSet" : "http://vzvz.nl/fhir/ValueSet/audit-event-sub-type"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
          },
          {
            "identity" : "rim",
            "map" : "CV"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding rdfs:subClassOf dt:CDCoding"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.what[x]"
          },
          {
            "identity" : "rim",
            "map" : ".code (type, subtype and action are pre-coordinated or sent as translations)"
          },
          {
            "identity" : "dicom",
            "map" : "EventTypeCode"
          }
        ]
      },
      {
        "id" : "AuditEvent.action",
        "path" : "AuditEvent.action",
        "short" : "Type of action performed during the event",
        "definition" : "Indicator for type of action performed during the event that generated the audit.",
        "comment" : "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "requirements" : "This broadly indicates what kind of action was done on the AuditEvent.entity by the AuditEvent.agent.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.action",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "example" : [
          {
            "label" : "FHIR based",
            "valueCode" : "R"
          },
          {
            "label" : "V3 based",
            "valueCode" : "E"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AuditEventAction"
            }
          ],
          "strength" : "required",
          "description" : "DICOM Audit Event Action",
          "valueSet" : "http://hl7.org/fhir/ValueSet/audit-event-action|4.3.0"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.what[x]"
          },
          {
            "identity" : "rim",
            "map" : ".code (type, subtype and action are pre-coordinated or sent as translations)"
          },
          {
            "identity" : "dicom",
            "map" : "EventActionCode"
          }
        ]
      },
      {
        "id" : "AuditEvent.period",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.period",
        "short" : "When the activity occurred",
        "definition" : "The period during which the activity occurred.",
        "comment" : "start = timestamp of request sent\r\nend = timestamp of response received\r\nprecision should be at least milliseconds, timezone required",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "example" : [
          {
            "label" : "Example",
            "valuePeriod" : {
              "start" : "2023-09-15T11:38:03.123+02:00",
              "end" : "2023-09-15T11:38:03.600+02:00"
            }
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "per-1",
            "severity" : "error",
            "human" : "If present, start SHALL have a lower value than end",
            "expression" : "start.hasValue().not() or end.hasValue().not() or (start <= end)",
            "xpath" : "not(exists(f:start/@value)) or not(exists(f:end/@value)) or (xs:dateTime(f:start/@value) <= xs:dateTime(f:end/@value))",
            "source" : "http://hl7.org/fhir/StructureDefinition/Period"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "DR"
          },
          {
            "identity" : "rim",
            "map" : "IVL<TS>[lowClosed=\"true\" and highClosed=\"true\"] or URG<TS>[lowClosed=\"true\" and highClosed=\"true\"]"
          },
          {
            "identity" : "workflow",
            "map" : "Event.occurred[x]"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.done[x]"
          },
          {
            "identity" : "rim",
            "map" : "./effectiveTime[type=IVL_TS]"
          },
          {
            "identity" : "dicom",
            "map" : "EventDateTime"
          },
          {
            "identity" : "w3c.prov",
            "map" : "Activity.startTime & Activity.endTime"
          },
          {
            "identity" : "fhirprovenance",
            "map" : "Provenance.occurred[x]"
          }
        ]
      },
      {
        "id" : "AuditEvent.recorded",
        "path" : "AuditEvent.recorded",
        "short" : "Time when the event was recorded",
        "definition" : "The time when the event was recorded. - NEN 7513 7.2-3",
        "comment" : "time precision at least seconds, timezone mandatory",
        "requirements" : "This ties an event to a specific date and time. Security audits typically require a consistent time base (e.g. UTC), to eliminate time-zone issues arising from geographical distribution.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.recorded",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "instant"
          }
        ],
        "example" : [
          {
            "label" : "Example",
            "valueInstant" : "2023-09-15T11:38:03+02:00"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.recorded"
          },
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          },
          {
            "identity" : "w3c.prov",
            "map" : "Activity.when"
          },
          {
            "identity" : "fhirprovenance",
            "map" : "Provenance.recorded"
          }
        ]
      },
      {
        "id" : "AuditEvent.outcome",
        "path" : "AuditEvent.outcome",
        "short" : "Whether the event succeeded or failed",
        "definition" : "Indicates whether the event succeeded or failed.",
        "comment" : "also add value on success (= 0)",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.outcome",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "example" : [
          {
            "label" : "FHIR based - HTTP 5xxx",
            "valueCode" : "8"
          },
          {
            "label" : "V3 based - CE",
            "valueCode" : "4"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AuditEventOutcome"
            }
          ],
          "strength" : "required",
          "description" : "DICOM Audit Event Outcome",
          "valueSet" : "http://hl7.org/fhir/ValueSet/audit-event-outcome|4.3.0"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.what[x]"
          },
          {
            "identity" : "rim",
            "map" : ".actionNegationInd"
          },
          {
            "identity" : "dicom",
            "map" : "EventOutcomeIndicator"
          }
        ]
      },
      {
        "id" : "AuditEvent.outcomeDesc",
        "path" : "AuditEvent.outcomeDesc",
        "short" : "Description of the event outcome",
        "definition" : "A free text description of the outcome of the event. Human readable message containing HTTP response code, description of result or message, include description of problem (e.g. RTEDEST)",
        "comment" : "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.outcomeDesc",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.what[x]"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=OUT].target.text"
          },
          {
            "identity" : "dicom",
            "map" : "EventOutcomeDescription"
          }
        ]
      },
      {
        "id" : "AuditEvent.purposeOfEvent",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.purposeOfEvent",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "coding.system"
            }
          ],
          "rules" : "open"
        },
        "short" : "The purposeOfUse of the event",
        "definition" : "The purposeOfUse (reason) that was used during the event being recorded.",
        "comment" : "Use AuditEvent.agent.purposeOfUse when you know that it is specific to the agent, otherwise use AuditEvent.purposeOfEvent. For example, during a machine-to-machine transfer it might not be obvious to the audit system who caused the event, but it does know why.",
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "AuditEvent.purposeOfEvent",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "poe-01",
            "severity" : "error",
            "human" : "ContextCode and Gegevensdienst are mutually exclusive",
            "expression" : "$this.empty() or ($this.coding.exists(system = 'urn:oid:2.16.840.1.113883.2.4.3.111.15.1') xor $this.coding.exists(system='http://vzvz.nl/fhir/NamingSystem/medmij-gegevensdienst'))",
            "source" : "http://vzvz.nl/fhir/StructureDefinition/aorta-AuditEvent"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AuditPurposeOfUse"
            }
          ],
          "strength" : "extensible",
          "description" : "The reason the activity took place.",
          "valueSet" : "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE"
          },
          {
            "identity" : "rim",
            "map" : "CD"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          },
          {
            "identity" : "workflow",
            "map" : "Event.reasonCode"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.why[x]"
          },
          {
            "identity" : "rim",
            "map" : "* .reasonCode [ControlActReason when Act.class = CACT Control Act]\n*.outboundRelationship[typeCode=RSON].target"
          },
          {
            "identity" : "dicom",
            "map" : "EventPurposeOfUse"
          },
          {
            "identity" : "w3c.prov",
            "map" : "Activity.Activity"
          },
          {
            "identity" : "fhirprovenance",
            "map" : "Provenance.reason, Provenance.activity"
          }
        ]
      },
      {
        "id" : "AuditEvent.purposeOfEvent:AortaContextCode",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.purposeOfEvent",
        "sliceName" : "AortaContextCode",
        "short" : "The purposeOfUse of the event",
        "definition" : "The purposeOfUse (reason) that was used during the event being recorded.",
        "comment" : "Use AuditEvent.agent.purposeOfUse when you know that it is specific to the agent, otherwise use AuditEvent.purposeOfEvent. For example, during a machine-to-machine transfer it might not be obvious to the audit system who caused the event, but it does know why.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.purposeOfEvent",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "example" : [
          {
            "label" : "Aorta context code",
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "urn:oid:2.16.840.1.113883.2.4.3.111.15.1",
                  "code" : "MEDGEG",
                  "display" : "Medicatieproces medicatiegegevens"
                }
              ]
            }
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AuditPurposeOfUse"
            }
          ],
          "strength" : "extensible",
          "description" : "The reason the activity took place.",
          "valueSet" : "http://vzvz.nl/fhir/ValueSet/aorta-ContextCode"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE"
          },
          {
            "identity" : "rim",
            "map" : "CD"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          },
          {
            "identity" : "workflow",
            "map" : "Event.reasonCode"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.why[x]"
          },
          {
            "identity" : "rim",
            "map" : "* .reasonCode [ControlActReason when Act.class = CACT Control Act]\n*.outboundRelationship[typeCode=RSON].target"
          },
          {
            "identity" : "dicom",
            "map" : "EventPurposeOfUse"
          },
          {
            "identity" : "w3c.prov",
            "map" : "Activity.Activity"
          },
          {
            "identity" : "fhirprovenance",
            "map" : "Provenance.reason, Provenance.activity"
          }
        ]
      },
      {
        "id" : "AuditEvent.purposeOfEvent:MedMijGegevensdienst",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.purposeOfEvent",
        "sliceName" : "MedMijGegevensdienst",
        "short" : "The purposeOfUse of the event",
        "definition" : "The purposeOfUse (reason) that was used during the event being recorded.",
        "comment" : "Use AuditEvent.agent.purposeOfUse when you know that it is specific to the agent, otherwise use AuditEvent.purposeOfEvent. For example, during a machine-to-machine transfer it might not be obvious to the audit system who caused the event, but it does know why.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.purposeOfEvent",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "patternCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://vzvz.nl/fhir/NamingSystem/medmij-gegevensdienst"
            }
          ]
        },
        "example" : [
          {
            "label" : "MedMij gegevensdienst",
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://vzvz.nl/fhir/NamingSystem/medmij-gegevensdienst",
                  "code" : "49"
                }
              ]
            }
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AuditPurposeOfUse"
            }
          ],
          "strength" : "extensible",
          "description" : "The reason the activity took place.",
          "valueSet" : "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE"
          },
          {
            "identity" : "rim",
            "map" : "CD"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
          },
          {
            "identity" : "workflow",
            "map" : "Event.reasonCode"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.why[x]"
          },
          {
            "identity" : "rim",
            "map" : "* .reasonCode [ControlActReason when Act.class = CACT Control Act]\n*.outboundRelationship[typeCode=RSON].target"
          },
          {
            "identity" : "dicom",
            "map" : "EventPurposeOfUse"
          },
          {
            "identity" : "w3c.prov",
            "map" : "Activity.Activity"
          },
          {
            "identity" : "fhirprovenance",
            "map" : "Provenance.reason, Provenance.activity"
          }
        ]
      },
      {
        "id" : "AuditEvent.agent",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.agent",
        "short" : "Actor involved in the event",
        "definition" : "An actor taking an active role in the event or activity that is logged.",
        "comment" : "There are at least one agent referring to the source of the event and one agent referring to the destination of the event. Optionally a third agent refers to the patient that is either the initiator of the event and/or the subject.",
        "requirements" : "An agent can be a person, an organization, software, device, or other actors that may be ascribed responsibility.",
        "alias" : [
          "ActiveParticipant"
        ],
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "AuditEvent.agent",
          "min" : 1,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "workflow",
            "map" : "Event.performer"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.who"
          },
          {
            "identity" : "rim",
            "map" : ".participation"
          },
          {
            "identity" : "dicom",
            "map" : "ActiveParticipant"
          },
          {
            "identity" : "w3c.prov",
            "map" : "Agent"
          },
          {
            "identity" : "fhirprovenance",
            "map" : "Provenance.agent"
          }
        ]
      },
      {
        "id" : "AuditEvent.agent.id",
        "path" : "AuditEvent.agent.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "id"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AuditEvent.agent.extension",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.agent.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.agent.modifierExtension",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.agent.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.agent.type",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.agent.type",
        "short" : "How agent participated",
        "definition" : "Specification of the participation type the user plays when performing the event.",
        "comment" : "The type is required, to indicate if this agent instance defines the source, the destination or the patient.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.agent.type",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "example" : [
          {
            "label" : "Source",
            "valueCodeableConcept" : {
              "coding" : [
                {
           & },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.agent.network.modifierExtension",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.agent.network.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not par       }
          ],
          "strength" : "extensible",
          "description" : "DICOM Audit Event Entity Role",
          "valueSet" : "http://hl7.org/fhir/ValueSet/object-role"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
          },
          {
            "identity" : "rim",
            "map" : "CV"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding rdfs:subClassOf dt:CDCoding"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : "role.code (not sure what this would mean for an Act)"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectTypeCodeRole"
          },
          {
            "identity" : "w3c.prov",
            "map" : "Entity.role"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.lifecycle",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.entity.lifecycle",
        "short" : "Life-cycle stage for the entity",
        "definition" : "Identifier for the data life-cycle stage for the entity.",
        "comment" : "This can be used to provide an audit trail for data, over time, as it passes through the system.",
        "requirements" : "Institutional policies for privacy and security may optionally fall under different accountability rules based on data life cycle. This provides a differentiating value for those cases.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.entity.lifecycle",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AuditEventEntityLifecycle"
            }
          ],
          "strength" : "extensible",
          "description" : "Identifier for the data life-cycle stage for the entity.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/object-lifecycle-events"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
          },
          {
            "identity" : "rim",
            "map" : "CV"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding rdfs:subClassOf dt:CDCoding"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : "target of ObservationEvent[code=\"lifecycle\"].value"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectDataLifeCycle"
          },
          {
            "identity" : "w3c.prov",
            "map" : "Entity.role"
          },
          {
            "identity" : "fhirprovenance",
            "map" : "Provenance.entity.role"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.securityLabel",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.entity.securityLabel",
        "short" : "Security labels on the entity",
        "definition" : "Security labels for the identified entity.",
        "comment" : "Copied from entity meta security tags.",
        "requirements" : "This field identifies the security labels for a specific instance of an object, such as a patient, to detect/track privacy and security issues.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AuditEvent.entity.securityLabel",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SecurityLabels"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
              "valueBoolean" : true
            }
          ],
          "strength" : "extensible",
          "description" : "Security Labels from the Healthcare Privacy and Security Classification System.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/security-labels"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "v2",
            "map" : "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"
          },
          {
            "identity" : "rim",
            "map" : "CV"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding rdfs:subClassOf dt:CDCoding"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : ".confidentialityCode"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectSensitivity"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.name",
        "path" : "AuditEvent.entity.name",
        "short" : "Descriptor for entity",
        "definition" : "A name of the entity in the audit event.",
        "comment" : "This field may be used in a query/report to identify audit events for a specific person. For example, where multiple synonymous entity identifiers (patient number, medical record number, encounter number, etc.) have been used.",
        "requirements" : "Use only where entity can't be identified with an identifier.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.entity.name",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "condition" : [
          "ele-1",
          "sev-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : ".title"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectName"
          },
          {
            "identity" : "w3c.prov",
            "map" : "Entity.Label"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.description",
        "path" : "AuditEvent.entity.description",
        "short" : "Descriptive text",
        "definition" : "Text that describes the entity in more detail.",
        "comment" : "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "requirements" : "Use only where entity can't be identified with an identifier.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.entity.description",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : ".text"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectDescription"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.query",
        "path" : "AuditEvent.entity.query",
        "short" : "Query parameters",
        "definition" : "Use this element to always record the full url, regardless of the action\r\n- base url: if available\r\n- resource or /\r\n- parameters (incl. operations) if applicable",
        "comment" : "- FHIR based: always add full address, regardless of the type of action\r\n - base-url if available\r\n - resource\r\n - parameters, if applicable\r\n- V3 based: add SoapAction from v3-log",
        "requirements" : "For query events, it may be necessary to capture the actual query input to the query process in order to identify the specific event. Because of differences among query implementations and data encoding for them, this is a base 64 encoded data blob. It may be subsequently decoded or interpreted by downstream audit analysis processing.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.entity.query",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "base64Binary"
          }
        ],
        "condition" : [
          "ele-1",
          "sev-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : "No mapping"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectQuery"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.entity.detail",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "type",
              "path" : "$this"
            }
          ],
          "rules" : "open"
        },
        "short" : "Additional Information about the entity",
        "definition" : "Tagged value pairs for conveying additional information about the entity.",
        "requirements" : "Implementation-defined data about specific details of the object accessed or used.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AuditEvent.entity.detail",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectDetail"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail.id",
        "path" : "AuditEvent.entity.detail.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "id"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail.extension",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.entity.detail.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail.modifierExtension",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.entity.detail.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail.type",
        "path" : "AuditEvent.entity.detail.type",
        "short" : "Name of the property",
        "definition" : "The type of extra detail provided in the value.",
        "comment" : "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.entity.detail.type",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : ".code"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectDetail.type"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail.value[x]",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.entity.detail.value[x]",
        "short" : "Property value",
        "definition" : "The value of the extra detail.",
        "comment" : "The value can be string when known to be a string, else base64 encoding should be used to protect binary or undefined content. The meaning and secondary-encoding of the content of base64 encoded blob is specific to the AuditEvent.type, AuditEvent.subtype, AuditEvent.entity.type, and AuditEvent.entity.role. The base64 is a general-use and safe container for event specific data blobs regardless of the encoding used by the transaction being recorded. An AuditEvent consuming application must understand the event it is consuming and the formats used by the event. For example if auditing an Oracle network database access, the Oracle formats must be understood as they will be simply encoded in the base64binary blob.",
        "requirements" : "Should not duplicate the entity value unless absolutely necessary.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.entity.detail.value[x]",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          },
          {
            "code" : "base64Binary"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : ".value"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectDetail.value"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail:AortaInteraction",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.entity.detail",
        "sliceName" : "AortaInteraction",
        "short" : "Additional Information about the AORTA interaction ID",
        "definition" : "Detailed description of the AoF interaction used",
        "requirements" : "Implementation-defined data about specific details of the object accessed or used.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AuditEvent.entity.detail",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN]"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectDetail"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail:AortaInteraction.id",
        "path" : "AuditEvent.entity.detail.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "Unique id for inter-element referencing",
        "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "id"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail:AortaInteraction.extension",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.entity.detail.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "Additional content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail:AortaInteraction.modifierExtension",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.entity.detail.modifierExtension",
        "short" : "Extensions that cannot be ignored even if unrecognized",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail:AortaInteraction.type",
        "path" : "AuditEvent.entity.detail.type",
        "short" : "Code system of InteractionIDs",
        "definition" : "Code system of the AORTA interactionIDs",
        "comment" : "Note that FHIR strings SHALL NOT exceed 1MB in size",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.entity.detail.type",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "fixedString" : "urn:oid:2.16.840.1.113883.1.6",
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : ".code"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectDetail.type"
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.detail:AortaInteraction.value[x]",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode" : "normative"
          },
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode" : "4.0.0"
          }
        ],
        "path" : "AuditEvent.entity.detail.value[x]",
        "short" : "InteractionID",
        "definition" : "The v3 or FHIR interactionID",
        "comment" : "The content of this element is a value from the CodeSystem with ID 2.16.840.1.113883.1.6, which is the AORTA-interactionIDs",
        "requirements" : "Should not duplicate the entity value unless absolutely necessary.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AuditEvent.entity.detail.value[x]",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "example" : [
          {
            "label" : "v3 interactionID",
            "valueString" : "QUMA_IN991203NL04"
          },
          {
            "label" : "FHIR interactionID",
            "valueString" : "create:mp-MedicationAgreement:1"
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "All FHIR elements must have a @value or children unless an empty Parameters resource",
            "expression" : "hasValue() or (children().count() > id.count()) or $this is Parameters",
            "xpath" : "@value|f:*|h:div|self::f:Parameters",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : ".value"
          },
          {
            "identity" : "dicom",
            "map" : "ParticipantObjectDetail.value"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "AuditEvent.purposeOfEvent",
        "path" : "AuditEvent.purposeOfEvent",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "coding.system"
            }
          ],
          "rules" : "open"
        },
        "min" : 1,
        "constraint" : [
          {
            "key" : "poe-01",
            "severity" : "error",
            "human" : "ContextCode and Gegevensdienst are mutually exclusive",
            "expression" : "$this.empty() or ($this.coding.exists(system = 'urn:oid:2.16.840.1.113883.2.4.3.111.15.1') xor $this.coding.exists(system='http://vzvz.nl/fhir/NamingSystem/medmij-gegevensdienst'))"
          }
        ]
      },
      {
        "id" : "AuditEvent.purposeOfEvent:AortaContextCode",
        "path" : "AuditEvent.purposeOfEvent",
        "sliceName" : "AortaContextCode",
        "max" : "1",
        "example" : [
          {
            "label" : "Aorta context code",
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "urn:oid:2.16.840.1.113883.2.4.3.111.15.1",
                  "code" : "MEDGEG",
                  "display" : "Medicatieproces medicatiegegevens"
                }
              ]
            }
          }
        ],
        "binding" : {
          "strength" : "extensible",
          "valueSet" : "http://vzvz.nl/fhir/ValueSet/aorta-ContextCode"
        }
      },
      {
        "id" : "AuditEvent.purposeOfEvent:MedMijGegevensdienst",
        "path" : "AuditEvent.purposeOfEvent",
        "sliceName" : "MedMijGegevensdienst",
        "max" : "1",
        "patternCodeableConcept" : {
          "coding" : [
            {
              "system" : "http://vzvz.nl/fhir/NamingSystem/medmij-gegevensdienst"
            }
          ]
        },
        "example" : [
          {
            "label" : "MedMij gegevensdienst",
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "http://vzvz.nl/fhir/NamingSystem/medmij-gegevensdienst",
                  "code" : "49"
                }
              ]
            }
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.type",
        "path" : "AuditEvent.entity.type",
        "comment" : "- FHIR based: Resourcetype as defined in the Valueset\r\n- V3 based: not used",
        "example" : [
          {
            "label" : "FHIR based",
            "valueCoding" : {
              "system" : "http://hl7.org/fhir/resource-types",
              "code" : "MedicationDispense"
            }
          }
        ]
      },
      {
        "id" : "AuditEvent.entity.query",
        "path" : "AuditEvent.entity.query",
        "comment" : "- FHIR based: always add full address, regardless of the type of action\r\n - base-url if available\r\n - resource\r\n - parameters, if applicable\r\n- V3 based: add SoapAction from v3-log"
      },
      {
        "id" : "AuditEvent.entity.detail",
        "path" : "AuditEvent.entity.detail",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "type",
              "path" : "$this"
            }
          ],
          "rules" : "open"
        }
      },
      {
        "id" : "AuditEvent.entity.detail:AortaInteraction",
        "path" : "AuditEvent.entity.detail",
        "sliceName" : "AortaInteraction",
        "short" : "Additional Information about the AORTA interaction ID",
        "definition" : "Detailed description of the AoF interaction used"
      },
      {
        "id" : "AuditEvent.entity.detail:AortaInteraction.type",
        "path" : "AuditEvent.entity.detail.type",
        "short" : "Code system of InteractionIDs",
        "definition" : "Code system of the AORTA interactionIDs",
        "fixedString" : "urn:oid:2.16.840.1.113883.1.6"
      },
      {
        "id" : "AuditEvent.entity.detail:AortaInteraction.value[x]",
        "path" : "AuditEvent.entity.detail.value[x]",
        "short" : "InteractionID",
        "definition" : "The v3 or FHIR interactionID",
        "comment" : "The content of this element is a value from the CodeSystem with ID 2.16.840.1.113883.1.6, which is the AORTA-interactionIDs",
        "type" : [
          {
            "code" : "string"
          }
        ],
        "example" : [
          {
            "label" : "v3 interactionID",
            "valueString" : "QUMA_IN991203NL04"
          },
          {
            "label" : "FHIR interactionID",
            "valueString" : "create:mp-MedicationAgreement:1"
          }
        ]
      }
    ]
  },
  "text" : {
  }
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.